package 力扣题库;

public class p27实现strStr {
    public int strStr(String haystack, String needle) {
        return  haystack.indexOf(needle);

    }
}
